<?php
/**
 * Description: 帕克西官网首页
 * User: kanglin
 * Date: 2017/9/4
 * Time: 14:50
 * Created by Created by Panxsoft.
 */
?>

{{-- 继承布局模板 --}}
@extends( 'official_website.layouts.main' )

@section('keywords')
    <meta name="keywords" content="广州帕克西软件开发有限公司"/>
@endsection()


{{--  当前页面的样式表 --}}
@section('style')
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="{{asset('css/home.css')}}">
@endsection()


{{-- 插入标题 --}}
@section('title')
    <title>首页-广州帕克西软件开发有限公司</title>
@endsection


@section('content')


    <!-- 焦点轮播banner -->
    <div class="index-banner-wrapper swiper-container" id="index_banner_wrapper">
        <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <div class="index-banner banner-1"></div>     
                </div>
                <div class="swiper-slide">
                    <div class="index-banner banner-2"></div>
                </div>
                <div class="swiper-slide">
                    <div class="index-banner banner-3"></div>     
                </div>
                <div class="swiper-slide">
                    <div class="index-banner banner-4"></div>
                </div>
                <div class="swiper-slide">
                    <div class="index-banner banner-5"></div>
                </div>
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
        <!-- Add Arrows -->
        <div class="swiper-button-next" @click="next()"></div>
        <div class="swiper-button-prev" @click="prev()"></div>

        <div class="banner-intro">
            <ul class="banner-intro-list bym-not-list bym-wrapper">
                <li class="banner-intro-list-item clearfix location">
                    <i class="icon">
                        <img src="//gz.bcebos.com/panx-website/images/home/company_icon1.png" alt="">
                    </i>
                    <div class="content">
                        <h3 class="content-title">
                            战略定位
                        </h3>
                        <p class="content-desc">
                            做全球用户形体数据采集、管理与服务中心
                        </p>
                    </div>
                </li>
                <li class="banner-intro-list-item clearfix vision">
                    <i class="icon">
                        <img src="//gz.bcebos.com/panx-website/images/home/company_icon2.png" alt="">
                    </i>
                    <div class="content">
                        <h3 class="content-title">
                            企业愿景
                        </h3>
                        <p class="content-desc">
                            形体智能——让您遇见更完美的自己
                        </p>
                    </div>
                </li>
                <li class="banner-intro-list-item clearfix culture">
                    <i class="icon">
                    <img src="//gz.bcebos.com/panx-website/images/home/company_icon3.png" alt="">
                    </i>
                    <div class="content">
                        <h3 class="content-title">
                            企业文化
                        </h3>
                        <p class="content-desc">
                            坚 / 韧 / 不 / 拔&nbsp;&nbsp;&nbsp;&nbsp;开 / 拓 / 创 / 新
                        </p>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <!-- 焦点轮播banner end -->


    <!-- 关于我们 -->
    <section class="about-us">

        <div class="bym-wrapper clearfix">

            <div class="about-us-pic"></div>

            <article class="about-us-content">
                
                <div class="about-us-content-title">
                     关于我们
                </div>

                <p>@lang('home.about.contents.0')</p>
                <p>@lang('home.about.contents.1')</p>
                <p>@lang('home.about.contents.2')</p>

                <a href="{{route('about')}}">@lang('home.about.button')</a>
            </article>

        </div> 
    </section>
    <!-- 关于我们 END-->

    <!-- 产品和服务 -->
    <section class="service" id="product_sevice">
        <div class="service-header">
            产品及服务
        </div>

        <!-- Swiper -->
        <div class="service-content">
            <div class="swiper-container" ref="product-sevice-swiper">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div class="pic">
                            <img src="//gz.bcebos.com/panx-website/images/home/home_cpjfw_img01.png" alt="">
                        </div>
                        <div class="content">
                            <h4>@lang('home.product_service.body_data.title')</h4>
                            <p>@lang('home.product_service.body_data.summary')</p>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="pic">
                            <img src="//gz.bcebos.com/panx-website/images/home/home_cpjfw_img02.jpg" alt="">
                        </div>
                        <div class="content">
                            <h4>@lang('home.product_service.try_on.title')</h4>
                            <p>@lang('home.product_service.try_on.summary')</p>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="pic">
                            <img src="//gz.bcebos.com/panx-website/images/home/home_cpjfw_img03.png" alt="">
                        </div>
                        <div class="content">
                            <h4>@lang('home.product_service.mock.title')</h4>
                            <p>@lang('home.product_service.mock.summary')</p>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="pic">
                            <img src="//gz.bcebos.com/panx-website/images/home/home_cpjfw_img04.png" alt="">
                        </div>
                        <div class="content">
                            <h4>@lang('home.product_service.ar_vr.title')</h4>
                            <p>@lang('home.product_service.ar_vr.summary')</p>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="pic">
                            <img src="//gz.bcebos.com/panx-website/images/home/home_cpjfw_img05.png" alt="">
                        </div>
                        <div class="content">
                            <h4>@lang('home.product_service.game.title')</h4>
                            <p>@lang('home.product_service.game.summary')</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- 产品和服务 END -->

    <!-- 新闻动态 -->

    <section class="news" id="news" v-cloak>

        <div class="bym-wrapper clearfix">

            <div class="news-title">
                新闻动态
            </div>

            <div class="news-content">
                <ul class="news-nav clearfix">
                    <li v-for="item in newsTags" :class="[currentTagId == item.id? 'active':'']">
                        <a href="javascript:;"  @click.prevent="changeTag(item.id)" >
                            @{{ trans(item.name) }}
                        </a>
                    </li>
                </ul>
                <ul class="news-list" v-show="!loading">
                    <li class="news-list-item" v-for="item in newsList">
                        <a :href="'news/'+item.id" >
                                <span class="news-list-item-title" v-text="">
                                    @{{ getTitle(item) }}
                                </span>
                            <span class="news-list-item-date" v-text="item.created_at"></span>
                        </a>
                    </li>
                </ul>
                <div class="news-loading-info" v-show="loading">
                    @lang('home.news.loading')
                </div>
                <div class="news-loading-info" v-show="!loading && newsList.length === 0">
                    @lang('home.news.empty')
                </div>
            </div>

            <div class="news-banner-wrapper swiper-container" ref="news-swiper" v-show="!loading && newsList.length" >
                <div class="swiper-wrapper">
                    <div class="swiper-slide" v-for="item in newsList">
                        <img :src="item.carousel_figure" :alt="item.title">
                    </div>
                </div>
                <!-- 分页 -->
                <div class="swiper-pagination"></div>
                <!-- Add Arrows -->
                <div class="swiper-button-next" @click="next()"></div>
                <div class="swiper-button-prev" @click="prev()"></div>
            </div>
            <div class="news-banner-wrapper swiper-container news-loading-info" v-show="!loading && !newsList.length">
                @lang('home.news.empty')
            </div>
            <div class="news-banner-wrapper swiper-container news-loading-info" v-show="loading">
                @lang('home.news.loading')
            </div>
        </div>

        <div class="bym-wrapper">
            <a class="news-btn" href="{{route('news')}}">@lang('home.news.button')</a>
        </div>

    </section>

        <!--  合作伙伴 begin -->
    @include('official_website.partner')
    <!-- 合作伙伴 end -->




    <!-- 合作伙伴 END -->


    <!--  联系我们  -->
    <section class="contact">

        <div class="bym-wrapper">
            <div class="contact-title">
                联系我们
            </div>

            <div class="contact-map">

            </div>

            <ul class="contact-list clearfix">
                <li>
                    <i class="icon">
                        <img src="//bym-website.gz.bcebos.com/assets/home/phone_contract_icon.png" alt="">
                    </i>
                    <dl>
                        <dt>@lang('home.contact.telephone.title')</dt>
                        <dd>@lang('home.contact.telephone.content.0')</dd>
                        <dd>@lang('home.contact.telephone.content.1')</dd>
                    </dl>
                </li>
                <li>
                    <i class="icon">
                        <img src="//bym-website.gz.bcebos.com/assets/home/email_contract_icon.png" alt="">
                    </i>
                    <dl>
                        <dt>@lang('home.contact.email.title')</dt>
                        <dd>@lang('home.contact.email.content.0')</dd>
                    </dl>
                </li>
                <li>
                    <i class="icon">
                        <img src="//bym-website.gz.bcebos.com/assets/home/qq_contract_icon.png" alt="">
                    </i>
                    <dl>
                        <dt>@lang('home.contact.qq.title')</dt>
                        <dd>@lang('home.contact.qq.content.0')</dd>
                    </dl>
                </li>
                <li>
                    <i class="icon">
                        <img src="//bym-website.gz.bcebos.com/assets/home/add_contract_icon.png" alt="">
                    </i>
                    <dl>
                        <dt>@lang('home.contact.address.title')</dt>
                        <dd>@lang('home.contact.address.content.0')</dd>
                    </dl>
                </li>
            </ul>

        </div>

    </section>
    <!--  联系我们 END  -->
@endsection


@section('script')
    <!-- 当前页面 -->
    <script src="{{asset('js/home.js')}}" type="text/javascript"></script>
    <script src="{{asset('js/partner.js')}}" type="text/javascript" ></script>
@endsection